export const validateEmail = (email) => {
    return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)
  }
  
  export const validatePhone = (phone) => {
    return /^1[3-9]\d{9}$/.test(phone)
  }